"use strict";

/** @type {import('sequelize-cli').Migration} */
module.exports = {
  async up(queryInterface, Sequelize) {
    await queryInterface.bulkInsert(
      "SocietyApplies",
      [
        {
          personId: 39,
          name: '创新创业社',
          introduce: '创新创业是充满对抗的一项运动，有利于我们的身心健康',
          planNum: 50,
          publicizeUrl: 'htpp://asdas/asdas',
          reason: "我们学校在这方面有所欠缺",
          status: 0,
          type: 1,
          checkPerson:undefined,
          attachment:'',
          createdAt: new Date(),
          updatedAt: new Date(),
        },
        {
          personId: 38,
          name: '羽毛球社',
          introduce: '羽毛球是充满对抗的一项运动，有利于我们的身心健康',
          planNum: 50,
          publicizeUrl: 'htpp://asdas/asdas',
          reason: "我们学校在这方面有所欠缺",
          status: 0,
          type: 4,
          checkPerson:undefined,
          attachment:'',
          createdAt: new Date(),
          updatedAt: new Date(),
        },
        {
          personId: 37,
          name: '音乐爱好者协会',
          introduce: '这里都是爱好音乐得人',
          planNum: 50,
          publicizeUrl: 'htpp://asdas/asdas',
          reason: "我们学校在这方面有所欠缺",
          status: 0,
          type: 6,
          checkPerson:undefined,
          attachment:'',
          createdAt: new Date(),
          updatedAt: new Date(),
        },
      ],
      {}
    );
  },

  async down(queryInterface, Sequelize) {
    await queryInterface.bulkDelete("SocietyApplies", null, {});
  },
};
